# To change this template, choose Tools | Templates
# and open the template in the editor.

__author__="james"
__date__ ="$27/04/2011 7:17:56 PM$"

import pygame, sys, os
from pygame.locals import *
from stages.Stage_1 import Stage_1

pygame.init()
clock = pygame.time.Clock()
window = pygame.display.set_mode((800,600))
pygame.display.set_caption('Py-Shooter')
screen = pygame.display.get_surface()
stage = Stage_1()

while 1:
    clock.tick(60)
    events = pygame.event.get()
    for event in events:
        if event.type == QUIT:
            sys.exit(0)
    stage.update(events)
    pygame.display.flip()
